--[[ Generated with TypeScriptToLua Don't edit ]]--

local ____exports = {}
local function getStaticData(actor)
    local varData = LActor.getStaticData(actor)
    if not varData then
        return nil
    end
    varData.testFuncData = {age = 10, sex = "male", score = 100, tdata = {type = 10, value = 10, array_info = {1, 2, 3}}}
    return varData.testFuncData
end
local function checkIsOpen(actor)
    return true
end
local function OnLoginEvent(actor)
    if nil == actor then
        return
    end
    if not checkIsOpen(actor) then
        return
    end
    local varData = getStaticData(actor)
    if nil == varData then
        return
    end
    if varData.sex == "male" then
        print((((tostring(varData.age) .. " ") .. varData.sex) .. " ") .. tostring(varData.score))
    end
end
local function OnLogoutEvent(actor)
    if nil == actor then
        return
    end
    if not checkIsOpen(actor) then
        return
    end
end
function ____exports.OnInitFunction()
    OnLoginEvent(nil)
end
return ____exports
